/*
 * (C) Copyright 2016 Ymatou (http://www.ymatou.com/).
 * 
 * All rights reserved.
 */
package com.ymatou.iapi.trading.operate.parameter;

import java.math.BigDecimal;
import java.util.Set;

import com.ymatou.iapi.trading.operate.parameter.enums.PromotionTypeEnum;


/**
 * 活动商品相关的活动属性
 * 
 * @author tuwenjie 2016年5月7日 下午5:49:03
 *
 */
public class SellerPromotionVo extends PrintFriendliness {

    private static final Long serialVersionUID = -578534863087072146L;

    // 营销活动ID
    private Integer id;
    // 活动类型
    private PromotionTypeEnum type;
    // 活动名称
    private String name;

    // 满件时，需要达到的件数
    private int qtyCondition;
    // 满金额时，需要达到的金额数
    private BigDecimal amountCondition;
    // 优惠的金额或折扣
    private BigDecimal promotionValue;

    // 适用的商品ID列表
    private Set<String> productIds;

    // 所有商品总共优惠的金额
    private BigDecimal reducedAmount;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public PromotionTypeEnum getType() {
        return type;
    }

    public void setType(PromotionTypeEnum type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getQtyCondition() {
        return qtyCondition;
    }

    public void setQtyCondition(int qtyCondition) {
        this.qtyCondition = qtyCondition;
    }

    public BigDecimal getAmountCondition() {
        return amountCondition;
    }

    public void setAmountCondition(BigDecimal amountCondition) {
        this.amountCondition = amountCondition;
    }

    public BigDecimal getPromotionValue() {
        return promotionValue;
    }

    public void setPromotionValue(BigDecimal promotionValue) {
        this.promotionValue = promotionValue;
    }

    public Set<String> getProductIds() {
        return productIds;
    }

    public void setProductIds(Set<String> productIds) {
        this.productIds = productIds;
    }

    public BigDecimal getReducedAmount() {
        return reducedAmount;
    }

    public void setReducedAmount(BigDecimal reducedAmount) {
        this.reducedAmount = reducedAmount;
    }


}
